package App.Model.Chat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by xw on 2018/11/30.
 */

@Entity
public class CrmChatGroupPart {

    @Column(name = "recid")
    @Id
    private String groupid;

    @Column(name = "recname")
    private String groupname;

    //项目id,任务id
    @Column(name = "objectid")
    private String objectid;

    @Column(name = "stageid")
    private int stageid;

    //项目聊天，还是任务聊天 0:project,1:chat
    @Column(name = "chattype")
    private int chattype;

    //分组类型(1:委托人协作团队,2:律师代理组,3:律师协作团队)
    @Column(name = "grouptype")
    private int grouptype;

    @Column(name = "relatedid")
    private String relatedid;

    @Column(name = "prefixname")
    private String prefixname;

    @Column(name = "chatstageid")
    private int chatstageid;

    public String getTopicname() {
        return topicname;
    }

    public void setTopicname(String topicname) {
        this.topicname = topicname;
    }

    //项目名称或者任务内容
    @Column(name = "topicname")
    private String topicname;

    public int  getChatstageid() {
        return chatstageid;
    }

    public void setChatstageid(int chatstageid) {
        this.chatstageid = chatstageid;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public String getGroupname() {
        return groupname;
    }

    public void setGroupname(String groupname) {
        this.groupname = groupname;
    }

    public String getObjectid() {
        return objectid;
    }

    public void setObjectid(String objectid) {
        this.objectid = objectid;
    }

    public int getStageid() {
        return stageid;
    }

    public void setStageid(int stageid) {
        this.stageid = stageid;
    }

    public int getChattype() {
        return chattype;
    }

    public void setChattype(int chattype) {
        this.chattype = chattype;
    }

    public int getGrouptype() {
        return grouptype;
    }

    public void setGrouptype(int grouptype) {
        this.grouptype = grouptype;
    }


    public String getRelatedid() {
        return relatedid;
    }

    public void setRelatedid(String relatedid) {
        this.relatedid = relatedid;
    }


    public String getPrefixname() {
        return prefixname;
    }

    public void setPrefixname(String prefixname) {
        this.prefixname = prefixname;
    }

}
